package com.ktjy.mapper.user;

import com.ktjy.pojo.MeetingRoom;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MeetingRoomMapper {
    List<MeetingRoom> selectMeetingRoom(@Param("name")String name,@Param("seatNum")int seatNum,
                                        @Param("pageBegin")int pageBegin, @Param("pageSize")int pageSize);
    int insert(MeetingRoom meetingRoom);
    int deleteMeetingRoom(@Param("id")int id);
    int updateMeetingRoom(MeetingRoom meetingRoom);

    List<MeetingRoom> selectAllMeetingRoom(@Param("id")int id);
    int count();
}
